package com.zxw.flow;

import com.zxw.common.web.config.FeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Xuewei.Zhang
 * @date 2022/7/1
 */
@MapperScan("com.zxw.flow.mapper")
@EnableFeignClients(defaultConfiguration = FeignConfig.class)
@ComponentScan({"com.zxw.common.core.base.bean","com.zxw.flow","com.zxw.common.web.util"})
@SpringBootApplication
public class FlowServiceApplication {
    public static void main(String[] args) {
        System.setProperty("nacos.logging.default.config.enabled", "false");
        SpringApplication.run(FlowServiceApplication.class);
    }
}
